package com.cupk.carManageMaster.common.domain;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 名称Dispatch_Car
 * 描述
 *
 * @version 1.0
 * @author:wanghao
 * @datatime:2023,06,03,20,58
 */
@Data
@ToString
public class DispatchCar {
    private Integer id;
    private Integer mileage;
    private Integer driver_id;
    private Date schedule_start_time;
    private Date expected_schedule_end_time;
    private Integer task_status;
    private Date schedule_end_time;
    private Float longitude;
    private Float latitude;
    private Date create_time;
    private Date update_time;
    private Integer car_id;
    private String carNumber;
    private String message;

    public Integer getDriverId() {
        return id;
    }

    public void addCarNumber(String carNumber)
    {
        setCarNumber(carNumber);
    }
}
